/**
 * TODO
 * @Project: topcrazy
 * @Title: BaseController.java
 * @Package net.topcrazy.base.common
 * @author notepad
 * @Date Sep 25, 2012 10:43:30 PM
 * @Copyright: 2012 www.topcrazy.net
 * @Version v1.0.0
 */
package net.topcrazy.base.common;

import javax.servlet.http.HttpServletRequest;

import org.springframework.web.util.WebUtils;

/**
 * TODO
 * 
 * @ClassName: BaseController
 * @author notepad
 */
public class BaseController
{



	public SessionGlobal getSessionGlobal(HttpServletRequest request)
	{

		Object object = WebUtils.getSessionAttribute(request,"sessionGlobal");
		SessionGlobal sessionGlobal = null;
		if (object != null)
		{
			sessionGlobal = (SessionGlobal) object;
		}
		return sessionGlobal;
	}

}
